﻿namespace HiMap.Style
{
    using System;
    using System.Runtime.InteropServices;
    using System.Text;

    internal class VC
    {
        [DllImport("KMGisLib")]
        public static extern void KWG_POINTSYMBOL_DELETE(int pointsymbol_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOL_GET_OFFSETX(int pointsymbol_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOL_GET_OFFSETY(int pointsymbol_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOL_GET_TYPE(int pointsymbol_ptr);
        [DllImport("KMGisLib")]
        public static extern void KWG_POINTSYMBOL_SET_OFFSETX(int pointsymbol_ptr, int offsetx);
        [DllImport("KMGisLib")]
        public static extern void KWG_POINTSYMBOL_SET_OFFSETY(int pointsymbol_ptr, int offsety);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLBMP_CREATE(StringBuilder bmpname);
        [DllImport("KMGisLib")]
        public static extern bool KWG_POINTSYMBOLBMP_GET_BMPNAME(int pointsysmbolbmp_ptr, StringBuilder bmpname);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLBMP_GET_HEIGHT(int pointsysmbolbmp_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLBMP_GET_ORIGINALHEIGHT(int pointsysmbolbmp_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLBMP_GET_ORIGINALWIDTH(int pointsysmbolbmp_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLBMP_GET_WIDTH(int pointsysmbolbmp_ptr);
        [DllImport("KMGisLib")]
        public static extern void KWG_POINTSYMBOLBMP_SET_HEIGHT(int pointsysmbolbmp_ptr, int height);
        [DllImport("KMGisLib")]
        public static extern void KWG_POINTSYMBOLBMP_SET_WIDTH(int pointsysmbolbmp_ptr, int width);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLFEATURE_CREATE(int Sid);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLFEATURE_GET_FILLCOLOR(int pointsymbolfeature_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLFEATURE_GET_LINECOLOR(int pointsymbolfeature_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLFEATURE_GET_LINEWIDTH(int pointsymbolfeature_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLFEATURE_GET_SID(int pointsymbolfeature_ptr);
        [DllImport("KMGisLib")]
        public static extern void KWG_POINTSYMBOLFEATURE_SET_FILLCOLOR(int pointsymbolfeature_ptr, int color);
        [DllImport("KMGisLib")]
        public static extern void KWG_POINTSYMBOLFEATURE_SET_LINECOLOR(int pointsymbolfeature_ptr, int color);
        [DllImport("KMGisLib")]
        public static extern void KWG_POINTSYMBOLFEATURE_SET_LINEWIDTH(int pointsymbolfeature_ptr, int linewidth);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLFONT_CREATE(StringBuilder fontname, int charno);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLFONT_GET_ANGLE(int pointsymbolfont_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLFONT_GET_COLOR(int pointsymbolfont_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLFONT_GET_FONTINDEX(int pointsymbolfont_ptr);
        [DllImport("KMGisLib")]
        public static extern bool KWG_POINTSYMBOLFONT_GET_FONTNAME(int pointsymbolfont_ptr, StringBuilder fontname);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLFONT_GET_OFFSETX(int pointsymbolfont_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLFONT_GET_OFFSETY(int pointsymbolfont_ptr);
        [DllImport("KMGisLib")]
        public static extern int KWG_POINTSYMBOLFONT_GET_SIZE(int pointsymbolfont_ptr);
        [DllImport("KMGisLib")]
        public static extern void KWG_POINTSYMBOLFONT_SET_ANGLE(int pointsymbolfont_ptr, int angle);
        [DllImport("KMGisLib")]
        public static extern void KWG_POINTSYMBOLFONT_SET_COLOR(int pointsymbolfont_ptr, int color);
        [DllImport("KMGisLib")]
        public static extern bool KWG_POINTSYMBOLFONT_SET_OFFSETX(int pointsymbolfont_ptr, int offsetx);
        [DllImport("KMGisLib")]
        public static extern bool KWG_POINTSYMBOLFONT_SET_OFFSETY(int pointsymbolfont_ptr, int offsety);
        [DllImport("KMGisLib")]
        public static extern void KWG_POINTSYMBOLFONT_SET_SIZE(int pointsymbolfont_ptr, int size);
    }
}

